package com.netease.pris.activity.view.WebViews;

import android.content.Context;
import com.netease.pris.a.q;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;

public class c
{
  private static Constructor a;
  private static int b = 4;

  static
  {
    b = q.a();
    try
    {
      arrayOfClass = new Class[1];
      arrayOfClass[0] = Context.class;
      if (b < 8)
        a = Class.forName("com.netease.pris.activity.view.WebViews.WebViewV8Early").getConstructor(arrayOfClass);
      else if (b == 8)
        a = Class.forName("com.netease.pris.activity.view.WebViews.WebViewV8").getConstructor(arrayOfClass);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      localClassNotFoundException.printStackTrace();
      return;
      if ((b >= 9) && (b <= 13))
        a = Class.forName("com.netease.pris.activity.view.WebViews.WebViewV9_V13").getConstructor(arrayOfClass);
    }
    catch (SecurityException localSecurityException)
    {
      Class[] arrayOfClass;
      localSecurityException.printStackTrace();
      return;
      if (b >= 14)
        a = Class.forName("com.netease.pris.activity.view.WebViews.WebViewV14_V15").getConstructor(arrayOfClass);
    }
    catch (NoSuchMethodException localNoSuchMethodException)
    {
      localNoSuchMethodException.printStackTrace();
    }
  }

  public static WebViewAdapter a(Context paramContext)
  {
    try
    {
      Object[] arrayOfObject = new Object[1];
      arrayOfObject[0] = paramContext;
      localWebViewAdapter = (WebViewAdapter)a.newInstance(arrayOfObject);
      return localWebViewAdapter;
    }
    catch (IllegalArgumentException localIllegalArgumentException)
    {
      while (true)
      {
        localIllegalArgumentException.printStackTrace();
        WebViewAdapter localWebViewAdapter = null;
      }
    }
    catch (InstantiationException localInstantiationException)
    {
      while (true)
        localInstantiationException.printStackTrace();
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      while (true)
        localIllegalAccessException.printStackTrace();
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      while (true)
        localInvocationTargetException.printStackTrace();
    }
  }

  public static boolean a()
  {
    if (b < 8);
    for (int i = 1; ; i = 0)
      return i;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.view.WebViews.c
 * JD-Core Version:    0.6.0
 */